CC = /usr/lib/jvm/java-6-sun/bin/javac
VM = /usr/lib/jvm/java-6-sun/bin/java

all:
	$VM -cp /usr/share/java/JFlex.jar JFlex.Main calculette.jflex
	$VM -jar lib/java-cup-11a.jar -parser CalculetteParser -symbols CalculetteSymbol calculette.cup
	$CC -cp lib/java-cup-11a-runtime.jar *.java
	$VM -cp lib/java-cup-11a.jar:. TestCalculette Essai.txt

clean:
	rm Calculette*.java
	rm *.class
	mpropre

